package sh.wnxy.wn38.service;

import sh.wnxy.wn38.entity.Ticket;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wn38
 * @since 2021-07-14
 */
public interface ITicketService extends IService<Ticket> {

    Integer addnum(LocalDate date, Integer id, String spottype, Integer num);

    Integer subnum(LocalDate date, Integer id, String kind, Integer number);

    Integer selectBydate(LocalDate date, Integer id, String spottype);
}
